#!/bin/sh

set -e



# set-validators can be used to create a new transaction with a single set
# operation.
bnscli set-validators -pubkey j4JRVstX -power 1 | bnscli view

echo

# set-validators can be used to modify a transaction and combine validator set
# operations into a single transaction.
bnscli set-validators -pubkey j4JRVstX -power 1 \
	| bnscli set-validators -pubkey j4JRVstX -power 2 \
	| bnscli set-validators -pubkey j4JRVstX -power 3 \
	| bnscli view
